@mixin setAnimate($property:all, $duration:1s, $timing-function:ease-in, $delay:0) {
    transition-property: $property;
    transition-duration: $duration;
    transition-time-function: $timing-function;
    transition-delay: $delay;
}
@mixin block($width: 50px, $height:50px, $lineHeight:50px) {
    display: block;
    width: $width;
    height: $height;
    line-height: $lineHeight;
    text-align: center;
}
@mixin setBlock($width: 50px, $height:50px, $lineHeight:normal) {
    width: $width;
    height: $height;
    line-height: $lineHeight;
}
@mixin positionCenter($supportTransform:true) {
    position: absolute;
    left: 50%;
    top: 50%; //     @if $supportTransform {
    // 　　　　transform: translate(-50%,-50%);
    // 　　}
}

body,
html {
    height: 100%;
    /*解决ios上滑动不流畅*/
    -webkit-overflow-scrolling: touch;
}
$baseColor: #333333;
$baseColor2: #469aeb;

::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
// 修正下拉刷新

.van-pull-refresh {
    min-height: 100%;
}
// 隐藏列表自带加载图标

.van-list__loading {
    display: none;
}

.app {
    height: 100%;
    // font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    color: $baseColor;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    // height: 100%;
    .layout {
        overflow: auto;
        height: 100%;

        .container {
            // overflow: auto;
            width: 100%;
        }
    }

    li {
        list-style: none;
    }

    button,
    input {
        outline: none;
        appearance: none;
    }

    a {
        cursor: pointer;
        text-decoration: none;
        color: $baseColor;

        &:active {
            color: #395c80;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        }
    }

    .fade-enter-active,
    .fade-leave-active {
        transition: opacity 0.5s;
    }
    /* .fade-leave-active in below version 2.1.8 */
    .fade-enter,
    .fade-leave-to {
        opacity: 0;
    }

    .textOverflow {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}